﻿<?xml version="1.0" encoding="utf-8"?>
<CoreInfo>
  <permissionGroups>
    <group>
      <name>attendance_hr</name>
      <description>公司人事管理</description>
      <groupUsers>
        <users>
          <username>LL</username>
          <username>yxc</username>
          <username>zq</username>
        </users>
      </groupUsers>
    </group>
    <group>
      <name>core_boss</name>
      <description>公司负责人</description>
      <groupUsers>
        <users>
          <username>hxh</username>
          <username>YYX</username>
          <username>hg</username>
        </users>
      </groupUsers>
    </group>
    <group>
      <name>core_employee</name>
      <description>公司中的在职员工</description>
      <groupUsers>everyone</groupUsers>
    </group>
  </permissionGroups>
  <permissions>
    <permission>
      <name>ATTENDANCE_HR_MANAGEMENT</name>
      <description>管理员工人事相关的信息</description>
      <defaultDeny>true</defaultDeny>
      <groups>
        <goups>attendance_hr</goups>
        <goups>core_boss</goups>
      </groups>
    </permission>
    <permission>
      <name>ATTENDANCE_AUDIT_LEAVE</name>
      <description>审核员工申请的假期</description>
      <defaultDeny>true</defaultDeny>
      <groups>
        <goups>core_boss</goups>
      </groups>
    </permission>
      
    <permission>
      <name>PROJECT_EDIT_PROJECT_BASICINFO</name>
      <description>编辑项目基本信息权限</description>
      <defaultDeny>true</defaultDeny>
      <groups>
        <goups>core_boss</goups>
      </groups>
    </permission>      
      
    <permission>
      <name>PROJECT_CREATE_PROJECT</name>
      <description>创建项目的权限</description>
      <defaultDeny>true</defaultDeny>
      <groups>
        <goups>core_boss</goups>
      </groups>
    </permission>

  </permissions>
</CoreInfo>